package org.chaiyi.template.core.common.contract.method;

import org.chaiyi.template.core.common.contract.Contractor;
import reactor.core.publisher.Mono;

import static org.chaiyi.template.core.common.contract.Contractor.Error.FIND_BY_ID_METHOD_NOT_IMPLEMENTED;

public interface GetByIdContractor<D> extends Contractor {
    default Mono<D> getById(String tenantId, String buCode, String id) {
        FIND_BY_ID_METHOD_NOT_IMPLEMENTED.trigger();
        return null;
    }
}
